package com.mentalhealthplatform.global.log.dto;

import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class LoginLogDTO {

    private Long id;
    private String loginName;
    private String loginAddress;
    private String loginLocation;
    private String browser;
    private String operatingSystem;
    private String loginStatus;
    private String loginMessage;
    private LocalDateTime loginTime;

    // 默认构造函数
    public LoginLogDTO() {}

    // 构造函数
    public LoginLogDTO(Long id, String loginName, String loginAddress, String loginLocation, String browser,
                       String operatingSystem, String loginStatus, String loginMessage, LocalDateTime loginTime) {
        this.id = id;
        this.loginName = loginName;
        this.loginAddress = loginAddress;
        this.loginLocation = loginLocation;
        this.browser = browser;
        this.operatingSystem = operatingSystem;
        this.loginStatus = loginStatus;
        this.loginMessage = loginMessage;
        this.loginTime = loginTime;
    }

}
